<template>
	<view class="content">
		<image class="image" :src="addSmallProgramTip_url" mode="aspectFit"></image>
		<view class="close" @click="clickToClose">
			<image class="image" src="/static/images/img-close-30.png" mode="aspectFit"></image>
		</view>
	</view>
</template>

<script>
    import images from '@/utils/images'
	export default {
		data() {
			return {
				addSmallProgramTip_url: images.square_addSmallProgramTip
			}
		},
		methods: {
			clickToClose() {
				this.$emit("clickToClose")
			}
		}
	}
</script>

<style lang="scss">
	.content{
		display: flex;
		box-sizing: border-box;
		width: 100%;
		height: 100%;
		.image{
			width: 100%;
			height: 100%;
		}
		
		.close{
			position: absolute;
			width: 40rpx;
			height: 40rpx;
			top: 30rpx;
			right: 0;
			.image{
				width: 100%;
				height: 100%;
			}
		}
	}
</style>